﻿<%template _header%>
<%namespace YouHP.Model%>
<div class="layout13">
    <div class="col1">
        <div class="box">
            <div class="caption">
                <h3 class="fontTitle">
                    YouHP大全</h3>
            </div>
            <div class="content" >
            <div style="margin-left: 10pt;">
                <a href="About.aspx" style="font-size: 14px; color: #31600c; font-family: Arial, Helvetica, sans-serif, Verdana;
                    text-align: center;"><b>关于我们</b></a>
                <br />
                <a href="Contact.aspx" style="font-size: 14px; color: #666666; font-family: Arial, Helvetica, sans-serif, Verdana;
                    text-align: center; margin-bottom: 10pt; "><b>联系我们</b></a>
                <br />
                <a href="Job.aspx" style="font-size: 14px; color: #31600c; font-family: Arial, Helvetica, sans-serif, Verdana;
                    text-align: center; margin-bottom: 10pt; "><b>人才招聘</b></a>
                <br />
                <a href="AdService.aspx" style="font-size: 14px; color: #31600c; font-family: Arial, Helvetica, sans-serif, Verdana;
                    text-align: center; margin-bottom: 10pt; "><b>广告服务</b></a>
                <br />
                <a href="Privacy.aspx" style="font-size: 14px; color: #31600c; font-family: Arial, Helvetica, sans-serif, Verdana;
                    text-align: center; margin-bottom: 10pt; "><b>隐私说明</b></a>
                <br />
                <a href="Agreement.aspx" style="font-size: 14px; color: #31600c; font-family: Arial, Helvetica, sans-serif, Verdana;
                    text-align: center; margin-bottom: 10pt; "><b>免责声明</b></a>
                <br />
                <a href="User/protocolb.aspx" style="font-size: 14px; color: #31600c; font-family: Arial, Helvetica, sans-serif, Verdana;
                    text-align: center; margin-bottom: 10pt; "><b>注册协议</b></a>
                <br /> 
                <a href="Help.aspx" style="font-size: 14px; color: #31600c; font-family: Arial, Helvetica, sans-serif, Verdana;
                    text-align: center; margin-bottom: 10pt; "><b>系统帮助</b></a>
                <br />
            </div>
        </div>
        </div>
    </div>
    <div style="width: 10px; float: left">
        &nbsp;</div>
    <div style="float: left; width: 723px;">
        <%if IsPost%>
        <%template _msgbox%>
        <%else%>
        <form id="formMessage" action="" method="post">
        <script>
        var emailok = false;
        var contentok = false
        function checkEmail()
		{
			var email = document.getElementById("mailAddress").value;
			var emailrex = /^\w+([-+.]\w+)*@\w+([-.]\\w+)*\.\w+([-.]\w+)*_$/;
			
			var unlen = email.replace(/[^\x00-\xff]/g, "**").length;
			if(emailrex.test(email)==false)
			{
				_$("emailSpan").innerHTML = "<font color='#009900'>请输入正确的邮箱</font>";
				emailok = false;
			}
			else
			{
			    emailok = true;
			}
		}
		function checkMessage()
		{
		    var username = document.getElementById("messageContent").value;
			var unlen = username.replace(/[^\x00-\xff]/g, "**").length;
			if (unlen < 1)
			{
			    _$("contentSpan").innerHTML = "<font color='#009900'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对不起，您的留言不能为空</font>";
			}
			else if (unlen > 500)
			{
			    _$("contentSpan").innerHTML = "<font color='#009900'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对不起，您的留言字符数只能少于500个字符</font>";
			}
			else
			{
			    contentok = true;
			}
		}
		
		function DoSubmit()
		{
	        if(emailok && contentok)
	        { 
	            var f = document.getElementById("formMessage");
	            f.submit();
	        }
	    }
		
        </script>
        <div class="box" id="contactUSMethod" style="display: block">
            <div class="caption">
                <h3 class="fontTitle">
                    您可以通过以下方式联系我们</h3>
            </div>
            <div class="content" style="text-indent: 2em;">
                <h4 style="text-indent: 0em;">
                    在线留言</h4>
                <p>
                    如果您在使用优医网的过程中有任何方面的意见和建议，都可以直接留言给我们的客服部门，我们会非常欢迎并尽快处理，必要时将与您取得联系。</p><br />
                <div class="content" style="text-indent: 2em;">
                    <p>
                        反馈类型：<select name="FeedBackType" id="FeedBackType">
                            <option value="程序Bug报告">程序Bug报告</option>
                            <option value="功能改进建议">功能改进建议</option>
                            <option value="数据补充建议">数据补充建议</option>
                            <option value="举报不良信息">举报不良信息</option>
                            <option value="其他">其他</option>
                        </select>
                    </p>
                    <br />
                    <p>
                        电子邮箱：<input name="mailAddress" id="Text2" type="text" style="width: 48%;" /><span id="emailSpan"></span><br />
                    </p>
                    <br />
                    <p>
                        详细信息：<textarea name="messageContent" cols="15" rows="8" id="Textarea1" style="width: 80%"></textarea><br /></p>

                    <div style="text-align:right; width:611px;"><input type="submit" id="submit" name="submit" value="提交" class="buttonstyle" /></div>
                </div>
                <h4 style="text-indent: 0em;">
                    联系方式</h4>
                <p>
                    客户服务：<a href="mailto:support@youhp.com"><font style="color: Green; text-decoration: underline;">support@youhp.com</font></a></p><br />
                <p>
                    MSN:<a href="mailto:Alan.king@hotmail.com"><font style="color: Green; text-decoration: underline;">Alan.king@hotmail.com</font></a></p><br />
                <p>
                    QQ:1105882331</p><br />
            </div>
        </div>
        </form>
        <%/if%>
    </div>
</div>
<%template _footer%>